export const tableConfig = {
    tablesList: [
      { prop: "name", label: "菜单名称", width: "150" },
      { prop: "type", label: "类型", width: "80" },
      { prop: "url", label: "菜单url", minWidth: "120"},
      { prop: "icon", label: "菜单icon", width: "140" },
      { prop: "sort", label: "排序", width: "80" },
      { prop: "permission", label: "按钮权限", minWidth: "150" },
      {
        prop: "createAt",
        label: "创建时间",
        width: "180",
        slotName: "createAt",
      },
      {
        prop: "updateAt",
        label: "更新时间",
        width: "180",
        slotName: "updateAt",
      },
      {
        label: "操作",
        width: "170",
        slotName: "handle",
      },
    ],
    //控制是否显示序号栏
    indexShow: false,
    selectShow: false,
    //控制是否有需要展开的子选项
    childrenProps:{
      rowKey:"id",
      treeProps:{
        children:'children'
      }
    },
    //是否需要分页
    isPagination:false
      
    
  };